package com.yanchangapp.ui.activity.manage;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.yanchangapp.R;
import com.yanchangapp.ui.presenter.MgAddPlanAtPresenter;
import com.yanchangapp.ui.view.MgAddPlanAtView;
import com.zxl.baselib.ui.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 我的管理 -- 今日计划 -- 添加计划活动
 */
public class MgAddPlanActivity extends BaseActivity<MgAddPlanAtView, MgAddPlanAtPresenter> implements MgAddPlanAtView {

    @BindView(R.id.ivToolbarNavigation)
    ImageView ivToolbarNavigation;
    @BindView(R.id.vToolbarDivision)
    View vToolbarDivision;
    @BindView(R.id.tvToolbarTitle)
    TextView tvToolbarTitle;
    @BindView(R.id.btnEnsure)
    Button btnEnsure;

    @Override
    protected void init() {

    }

    @Override
    protected int provideContentViewId() {
        return R.layout.activity_mg_add_plan;
    }

    @Override
    protected MgAddPlanAtPresenter createPresenter() {
        return new MgAddPlanAtPresenter(this);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        tvToolbarTitle.setText("添加计划");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListener() {
        // 返回的点击事件
        ivToolbarNavigation.setOnClickListener(v -> finish());
    }

}
